package lgs.hm.aop2;

import org.springframework.stereotype.Component;

@Component
public class Person {
	@DaGu
	public double getMoney() {
		return 1230000;
	}
	
	@FromFile("d://info.txt")
	public void singSong(String name) {
		System.out.println("高唱一首"+name);
	}
	
	@FromFile("d://aaa.txt")
	void xixi(String xx) {
		System.out.println(xx);
	}
	
	void hehe(Cat cat) {
		System.out.println("猫在唱歌");
	}

}
